var path = require('path')
var wordsParser = require(path.join(__dirname,"./wordsParser/wordsParser.js"));  //引用词法解析模块
var handleFunction = require(path.join(__dirname,"./handleFunction/handleFunction.js"));
var handleVarTree = require(path.join(__dirname,"handleVarTree/handleVarTree.js"));
var url = path.join(__dirname,'./lessScript/lessScript').toString(); //获得脚本路径
var words = wordsParser.parseWords(url);//执行词法解析并且输出结果

var FuntionArray = handleFunction.getFunctionArray(words);
words = handleFunction.getParsedWords(words);

var varTree = handleVarTree.createVarTree(words,0,'global');
console.log(varTree)
